<% if @template.locked? -%>
  <%= locked_warning(::Template.find(params[:id])) %>
<% end -%>
